package cn.iocoder.yudao.module.book.dal.dataobject.community;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.math.BigInteger;
import java.util.*;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * 动态话题关联 DO
 *
 * @author system
 */
@TableName("post_topics")
@KeySequence("post_topics_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PostTopicsDO extends BaseDO {

    /**
     * ID
     */
    @TableId
    private Long id;
    
    /**
     * 动态ID
     */
    private Long postId;
    
    /**
     * 话题ID
     */
    private Long topicId;


    private BigInteger tenantId;

}
